package pub.cleangao.codegen.enquiry.sqlserver;

import pub.cleangao.codegen.sqlexe.DbType;
import pub.cleangao.codegen.GenConfigHolder;
import pub.cleangao.codegen.enquiry.EnquiryService;
import pub.cleangao.codegen.enquiry.TableEnquiry;

public class SqlServerEnquiryService implements EnquiryService {
    @Override
    public TableEnquiry getTableEnquiry(GenConfigHolder config) {
        return new SqlServerTableEnquiry(config, new SqlServerColumnEnquiry(config));
    }

    @Override
    public String signature() {
        return DbType.SQL_SERVER.getSignature();
    }
}
